package item.lxp;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@SpringBootApplication
@MapperScan("item.lxp.mapper")
public class DomeApplication {

    public static void main(String [] args){
       SpringApplication.run(DomeApplication.class,args);
    }

    @PostMapping("/hello")
    public String hello(){
        return "hellowold";
    }
}
